-
Notifications
You must be signed in to change notification settings - Fork 6
Bring main branch up to date #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
git-subtree-dir: bridges git-subtree-split: f346243f6d9da686e47f3c6e9e2d9a286b831dd4
As long as the account has keys to purge. This effectively allows members of the validator set to step back, as validators will only be included in the real validator set if they have provided session keys.
And decrement when their authorization is removed, so the account in frame_system gets cleaned up.
bf5b4cc1 Add polkadot bulletin chain primitives (#2542) git-subtree-dir: bridges git-subtree-split: bf5b4cc18c0ceaed308827627dd4effa5fd68c4a
…/842bef21e14a1cb66aec057be724042f90ee70be
aa1cf85d fix compilation 262e79fa RefundBridgedGrandpaMessages to refund transaction costs for messages coming to/from bridged standalone/relay chain (#2566) 50c33312 added POLKADOT_BULLETIN_CHAIN_ID constant e4a52cba prepare refund extension infra to add refund extension for messages from standalone chain (#2558) a7706c4a Add relays that will be used in Polkadot Bulletin <> Polkadot.BH bridge (#2556) 52d95e5a Polkadot Bulletin Chain client (#2552) 979acf3c instead of requiring sp_std::vec::Vec import when using runtime API generation macro, let's use full type path directly in macro (#2551) git-subtree-dir: bridges git-subtree-split: aa1cf85dd90c029b5c5cb8352be43680847595cc
* Squashed 'bridges/' content from commit f346243f git-subtree-dir: bridges git-subtree-split: f346243f6d9da686e47f3c6e9e2d9a286b831dd4 * add a BRIDGES.md document * brides -> bridges * trigger CI * Revert "trigger CI" This reverts commit a4390dc. * try sudo apt-get update
* add basic XCM configuration * and lost changes from Cargo.toml * allow all calls through the bridge * remove TODO and keep using root to dicspatch incoming calls * improve matching * Update runtime/src/xcm_config.rs Co-authored-by: Branislav Kontur <[email protected]> * Update runtime/src/xcm_config.rs Co-authored-by: Branislav Kontur <[email protected]> * Update runtime/src/xcm_config.rs Co-authored-by: Branislav Kontur <[email protected]> * UniversalAliases + WithComputedOrigin * added TODO * Update runtime/src/xcm_config.rs Co-authored-by: Branislav Kontur <[email protected]> * changed expected_message_from_kawabunga_passes_barrier to match real execution params --------- Co-authored-by: Branislav Kontur <[email protected]>
* updating bridges subtree + remove extra folders * update BRIDGES.md * added basic (unworking) bridge configuration * and lost related changes from node * also lost changes from Cargo.toml * removed NeverSentMessage for now
* add RPC required for bridges relay * apply review suggestions
|
The CI step |
georgepisaltu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but can you also port this change from the george-update branch please?
Signed-off-by: georgepisaltu <[email protected]>
antkve
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. My commits revert the switch from rococo to polkadot, but this should be easy to merge into subsequent changes to this branch.
|
Tried with rust 1.88.0 (latest stable) & 1.90.0 (latest nightly), but the error is the same. |
Nice catch, thanks! Updated CI image to 1.84.1 to match the one used in polkadot-sdk. |
|
Think this ^ is needed to stop it upgrading to stable during install |
|
Hmm, rust version is correct now but benchmarking still not building. Think we should leave this to its own issue since it looks like it's just a whole bunch of errors caused by the benchmarking code not being updated with the polkadot-sdk version change. |
|
The issue for fixing benchmarking: #15 |
Honestly I don't know what is better — upgrade Rust as one of CI steps, or use Rust from the container. Let's keep the latter, but keep in mind we will need to manually update the version to follow polkadot-sdk CI to not run into weird errors. |
- Add authorize_account_for_size() convenience method that estimates and authorizes in one call - Add signer_account() method to TransactionSubmitter trait to derive account from signer - Update AsyncBulletinClient to automatically use signer's account if not explicitly set - Clarify authorization documentation: mention Root/sudo requirement and no fees - Clarify estimate_authorization helper purpose in docs Addresses franciscoaguirre's comments: - Comment #15: API that calls estimation underneath - Comments #16/#17: Get account from keypair/signer automatically - Comment #11: Clarify 'required values' in authorization docs - Comment #14: Mention Root requirement and no fees for authorization
- Add authorize_account_for_size() convenience method that estimates and authorizes in one call - Add signer_account() method to TransactionSubmitter trait to derive account from signer - Update AsyncBulletinClient to automatically use signer's account if not explicitly set - Clarify authorization documentation: mention Root/sudo requirement and no fees - Clarify estimate_authorization helper purpose in docs Addresses franciscoaguirre's comments: - Comment #15: API that calls estimation underneath - Comments #16/#17: Get account from keypair/signer automatically - Comment #11: Clarify 'required values' in authorization docs - Comment #14: Mention Root requirement and no fees for authorization
This merges commit ebebf30 into main branch. This is the commit most of the current work is based on, and merging it should bring us closer to working on the main branch.
The diverging changes on main (as compared to ebebf30) should not bring any conflicts:
There are no other changes on main compared to ebebf30.
This PR also:
cargo checkon Parity CI container image with Rust version used in polkadot-sdk.